package com.dev.base.expand;

import com.dev.base.able.TodoAnyThing;

/**
 * model层事务处理基类
 */
public class TodoAny {
    private int flag;
    private int todoSubscribeOn;
    private TodoAnyThing anyThing;

    /**
     *
     * @param flag
     * @param todoSubscribeOn
     * @param anyThing
     */
    public TodoAny(int flag, int todoSubscribeOn, TodoAnyThing anyThing) {
        this.flag = flag;
        this.todoSubscribeOn = todoSubscribeOn;
        this.anyThing = anyThing;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getTodoSubscribeOn() {
        return todoSubscribeOn;
    }

    public void setTodoSubscribeOn(int todoSubscribeOn) {
        this.todoSubscribeOn = todoSubscribeOn;
    }

    public TodoAnyThing getAnyThing() {
        return anyThing;
    }

    public void setAnyThing(TodoAnyThing anyThing) {
        this.anyThing = anyThing;
    }
}
